﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL.Abstract;

namespace DAL.Classes
{
    public class TagPostNewDAL : abstractDAL
    {
        public List<TagPostNew> getTagsPostNewByPostNew(PostNew postNew)
        {
            try
            {
                return (from t in Wiki.TagPostNews where t.idPostNew == postNew.idPostNew select t).ToList();
            }
            catch (Exception)
            {
                
                throw;
            }
        }
    }
}
